	(function(window){
	//获取当前浏览器窗口
	var width = document.documentElement.clientWidth || document.body.clientWidth;
	//设置根节点的font-size
	document.documentElement.style.fontSize = width / 10 + "px";
	//当窗口大小变化时触发resize事件
	window.onresize = function(){
		//设置根节点的font-size
		document.documentElement.style.fontSize = (document.documentElement.clientWidth || document.body.clientWidth ) / 10 + "px"
	}
	})(window);
